home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d13 / excon.arc / READ.ME < prev    next >
Text File  |  1986-09-29  |  10KB  |  194 lines

  1.  
  2.                       Enhanced Console Driver
  3.                   Copyright (c) 1986 Anthony Zackin
  4.  
  5. The current version of the program is 4.7 (all instances of `xx' below should be
  6. replaced with the digits `47').
  7.  
  8. The Enhanced Console Driver is an installable console driver providing
  9. additional capabilities to the disk operating system. It may be used with DOS
  10. versions 2 and above on systems with or without a hard disk. It is a complete
  11. replacement for the ANSI.SYS device driver supplied with DOS 2 and above. It
  12. will work with either a monochrome or a color graphics adapter. Special support
  13. is also provided for the 43 line mode of the enhanced graphics adapter (EGA).
  14.  
  15.  
  16. Installation instructions:
  17.  
  18. 1) Make your boot disk the currently active disk. If you already have a
  19. CONFIG.SYS file on your boot disk then issue a CD command to the subdirectory
  20. containing the file (for pre-DOS 3.0 systems this will be the root). Append the
  21. CONFIGxx.SYS file from the distribution disk. This may be done with the DOS
  22. COPY command, e.g., COPY CONFIG.SYS+B:CONFIGxx.SYS assuming the distribution
  23. disk is in drive B. If you do not already have a CONFIG.SYS file then simply
  24. copy the CONFIGxx.SYS file and rename it to CONFIG.SYS, e.g.,
  25. COPY B:CONFIGxx.SYS CONFIG.SYS.
  26.  
  27.    The CONFIGxx.SYS file contains the line DEVICE=CONDRVxx.SYS. This tells DOS
  28. that the console driver program, CONDRVxx.SYS, may be found in the root. If you
  29. are using DOS 3.0 or greater you may place device drivers in any subdirectory.
  30. If you wish to do this just modify the DEVICE= line in CONFIG.SYS and add a
  31. path name before CONDRVxx.SYS: DEVICE=[path]CONDRVxx.SYS, where [path]
  32. corresponds to the subdirectory path name where you have put the CONDRVxx.SYS
  33. file, e.g., DEVICE=\DOS\CONDRVxx.SYS if it is in your "DOS" subdirectory.
  34.  
  35.    Once you have added the DEVICE=CONDRVxx.SYS or equivalent entry to CONFIG.SYS
  36. you should reboot your system to cause the driver to be loaded by DOS. Enter the
  37. {Ctrl}, {Alt}, and {Del} keys simultaneously to "warm start" your machine.
  38.  
  39.  
  40. 2) Copy the CU.EXE and MENU.BAT files from the distribution diskette to a
  41. subdirectory referenced by your default PATH definition; this will let them be
  42. executed regardless of your current subdirectory. If you run all your programs
  43. from the root and/or have a floppy based system then just copy the files to the
  44. root of your boot disk.
  45.    The CU program (Console Utility) is used to issue commands to the console
  46. driver. These commands may define windows, set alarms, turn on/off the
  47. clock/locks display, etc. Once CU has been copied you may issue the CU HELP
  48. command to find out how to get a listing of its documentation. (Note that the CU
  49. HELP facility expects that the console driver has been installed; if you view it
  50. before installation you may receive a few spurious characters at the end of each
  51. screen; if so, just ignore them.)
  52.    MENU.BAT is a batch file which will set the system prompt. Since the menu,
  53. clock and caps-lock functions are all prompt driven you must set the prompt to
  54. control them.
  55.  
  56.  
  57. 3) Copy the STDKEYS.CU and STDFKEYS.CU files from the distribution diskette so
  58. they may be accessible from your AUTOEXEC.BAT file. These files contain CU
  59. commands to add key abbreviations (STDKEYS.CU) and define a menu screen
  60. (STDFKEYS.CU). They are meant as examples only and should be modified for your
  61. own needs. These names, by the way, are arbitrary; you may use any valid DOS
  62. file name for these files; they will be referenced by a `CU READ' command in
  63. your AUTOEXEC.BAT file. Use the MENU.BAT or MENU2.BAT file to set the prompt.
  64. For a more complex menu setup try STDKEYS.1 and STDFKEYS.1. Use the MENU1.BAT
  65. file with them.
  66.  
  67.  
  68. 4) The following two lines should be added to your AUTOEXEC.BAT file. You may
  69. use the COPY command as described above, COPY AUTOEXEC.BAT+B:AUTOEXEC.BAT, or
  70. add them manually with a word processor or text editor:
  71.  
  72.    CU READ STDKEYS.CU,STDFKEYS.CU; CLOCK bY; LOCKS RY
  73.    MENU ON
  74.  
  75.    The CU READ command will read the commands in the `STD...' files. Note that
  76. this is the convention that I use; you may choose to do it an other way. For
  77. example, you may decide to combine the two `STD...' files into one and call it
  78. MENUDEF. In that case you would add the line
  79.  
  80.    CU READ MENUDEF; CLOCK bY; LOCKS RY
  81.  
  82. instead.
  83.  
  84.    The CLOCK and LOCKS command are only needed if you wish a display of the
  85. current time and the Caps Lock/Num Lock/Print Screen status. They must be
  86. initialized via this CU call or else the prompt string commands to control them
  87. will be ignored. Any valid attribute value may be specified since the actual
  88. one used will be generated by the user's prompt, set by the MENU.BAT file.
  89.  
  90.    Note that MENU ON must be the last command in the AUTOEXEC.BAT file since
  91. MENU is itself a batch file. If this is impossible then, of course, the MENU
  92. command may be issued manually at any time.
  93.  
  94.  
  95. 5) Modify MENU.BAT if necessary to change the default colors; see the DOS
  96. technical reference manual for ANSI.SYS escape code sequences to do that. You
  97. may also change the location of the CLOCK and LOCKS status if you wish. Read the
  98. file CONDRV.DOC for full details of the extended escape sequences which control
  99. these functions.
  100.  
  101.    If you want to display more than one menu window you'll have to modify the
  102. MENU.BAT file at least and you will probably want to modify the STDFKEYS.CU
  103. file as well. STDFKEYS.CU initially defines two windows but only window 0 is
  104. displayed by MENU.BAT. However, {Alt}0 is redefined to display window1. The
  105. file MENU2.BAT on the distribution disk will set the prompt to display both
  106. windows (0 and 1). Up to 8 windows are supported.
  107.  
  108.    If you have an IBM Extended Graphics Adapter (EGA) and an Enhanced Color
  109. Display or equivalent and wish to use the 43 line mode when you are at the DOS
  110. prompt use MENU43.BAT to set the prompt for 43 line mode; use MENU25.BAT to
  111. switch to 25 line mode.
  112.  
  113.    The MENU.BAT files are set up so that if the parameter OFF is provided the
  114. prompt will be reset so that no windows will be displayed. You should modify
  115. the default MENU OFF prompt to suit your needs if the provided settings are not
  116. to your fancy.
  117.  
  118.  
  119. Note:
  120.  
  121. The prompts specified in the MENU.BAT files may cause you to run out of
  122. environment space depending on how much of it you are using for your PATH,
  123. COMPSPEC, and any other environment variables. The default environment space
  124. may be increased by patching the default paragraph allocation value of 10,
  125. hexadecimal 0A, in COMMAND.COM. You may use the DEBUG command to do this. For
  126. DOS 2.0 replace xxx with ECF, for DOS 3.0 use F2C, for DOS 3.1 use D11.
  127.  
  128.   >DEBUG \COMMAND.COM
  129.   -Exxx 0C
  130.  
  131. This will give you an additional 32 bytes to work with; if you need more then
  132. specify a larger number than hexadecimal 0C (12 decimal).
  133.  
  134. For DOS versions 3.2 and up you may use the following line in the CONFIG.SYS
  135. file to increase the default environment space. Replace `nnn' below with a
  136. number from 160 to 32768. It will be rounded up to the nearest paragraph
  137. boundary (multiple of 16 bytes): SHELL=\COMMAND.COM /P/E:nnn
  138.  
  139. For example,
  140.     SHELL=\COMMAND.COM /P/E:192
  141.  
  142.  
  143. Updates:
  144.  
  145. 4.3:
  146.  
  147. A new feature in version 4.3 allows you to suppress the DOS keyboard
  148. redefinition during program execution (or at the DOS command prompt if you
  149. want). This lets programs which do their console I/O via DOS to use keys which
  150. you may have redefined for your own purposes, e.g., to run the programs on your
  151. menu. Note that this has been implemented using a suppress count similar to the
  152. count used by the CLOCK, LOCKS, and MODE commands. It differs in one respect
  153. and that is that the suppress count value for keyboard redefinition must
  154. typically be one larger than the value needed by the other commands. After
  155. installing the new CU program type `HELP KEYDEF' for more information.
  156.  
  157. 4.4:
  158.  
  159. Fixes a problem that occurred with monochrome displays while resetting the alarm
  160. via the depression of both shift keys.
  161.  
  162. 4.7
  163.  
  164. Fixes a problem that occurred when using the console driver with a RAM resident
  165. program, expanded memory, and 123 release 2. Also fixed was a problem which
  166. sometimes would occur when both shift keys were depressed (to turn off the
  167. alarm); the system's keyboard status bits would occasionally get scrambled
  168. making it look as if you were pressing a shift key when you weren't.
  169.  
  170.  
  171. Note that all code and documentation is copyrighted and may not be sold. If you
  172. like it give it away, but please do not modify it. I can only vouch for the code
  173. in its current format; I use it every day on my system and on quite a few others
  174. in my office. I unfortunately cannot guarantee that it will work problem-free on
  175. all systems. The driver has been used with many software packages including
  176. 123, Symphony, dBASE III, Framework, Microsoft Chart, GEM, DisplayWrite III,
  177. WordStar, WordStar 2000, Storyboard, etc. without problems. The only program
  178. that I have found that it does not work with is Topview; however, if you are
  179. going to use Topview you don't need this so who cares? Note that many of the
  180. programs listed above do not use DOS I/O to write to the console, they write
  181. directly to the screen memory or they use direct BIOS calls. Programs in the
  182. latter category may also issue the Enhanced Console Driver escape sequences if
  183. the BIOS trap option has been enabled prior to their execution. Read the CU HELP
  184. file for more information.
  185.  
  186.  
  187. If you have any questions or comments I will try to respond, time permitting.
  188.  
  189.  
  190. Tony Zackin
  191. 110-20 63rd Drive
  192. Forest Hills, NY 11375
  193. (718) 896-9385
  194.